import 'package:get/get.dart';
import '../routes/app_routes.dart';
import '../../features/home/view/home_page.dart';
import '../../features/home/bindings/home_binding.dart';
import '../../features/network_demo/view/network_demo_page.dart';
import '../../features/network_demo/bindings/network_demo_binding.dart';

class AppPages {
  static const initial = AppRoutes.home;

  static final routes = [
    GetPage(
      name: AppRoutes.home,
      page: () => const HomePage(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: AppRoutes.networkDemo,
      page: () => const NetworkDemoPage(),
      binding: NetworkDemoBinding(),
    ),
  ];
}